package com.big.spike.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.big.model.model.merchandise.MerchandiseSpike;
import org.springframework.web.bind.annotation.PathVariable;

import java.text.ParseException;
import java.util.*;


public interface MerchandiseSpikeService extends IService<MerchandiseSpike> {



     IPage<MerchandiseSpike> MerchandiseSpike(Page<MerchandiseSpike> page);


     void spikesRedis(Long spikeId) throws ParseException;


     Boolean upSpike(Long spikeId,Integer typeCode);

     boolean  MerchRemindMe(String uId,String mId) throws ParseException;

     //查单秒杀信息
     MerchandiseSpike spikeInfo(String mId);

     //查看是否已经预约
     boolean remindMe(String phone);


}
